import time
from multiprocessing import Process


def output(content):
    while True:
        print(content, end='', flush=True)
        time.sleep(0.01)


Process(target=output, args=('Ping', ), daemon=True).start()
Process(target=output, args=('Pong', ), daemon=True).start()
time.sleep(3)
